package com.exrobot.module.rbt.controller.admin.robottask.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.exrobot.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.exrobot.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 机器人任务分页 Request VO")
@Data
public class RobotTaskPageReqVO extends PageParam {

    @Schema(description = "任务编号")
    private String taskNo;

    @Schema(description = "机器人SN")
    private String robotSn;

    @Schema(description = "任务类型", example = "1")
    private String taskType;

    @Schema(description = "任务点位", example = "1")
    private String point;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endTime;

    @Schema(description = "状态", example = "2")
    private Integer status;

}